package cc.rengu.igas.bsps.common.dao;

import cc.rengu.oltp.service.common.entity.MchntOrderInfo;
import cc.rengu.oltp.service.common.entity.MchntReconDetail;
import cc.rengu.oltp.service.common.entity.PayOrderInfo;
import cc.rengu.oltp.utility.bean.PageInfo;
import cc.rengu.oltp.utility.bean.PageResult;

import java.util.List;

/**
 * 对账单明细正式表接口类
 * Created by yuhongwen
 */
public interface ReconDetailQueryMapper {
    /**
     * 根据对账单明细
     *
     * @param instId 多法人标识
     * @return 交易明细信息
     * @throws Exception 异常
     */
    List<MchntOrderInfo> selectMchntOrder(String instId, String mchntNo, String startDate, String endDate, String txnNum) throws Exception;

    List<PayOrderInfo> selectPayOrder(String instId, String mchntOrderId, String SysSeqNum) throws Exception;

    MchntReconDetail selectMchntReconDetail(String instId, String mchntNo, String startDate, String endDate, String txnNum, String sysSeqNum) throws Exception;

    /**
     * 根据对账单明细(分页)
     *
     * @param instId 多法人标识
     * @return 交易明细信息
     * @throws Exception 异常
     */
    PageResult selectMchntOrderReconDetailPage(String instId, String mchntNo, String startDate, String endDate, String txnNum, PageInfo pageInfo) throws Exception;


}

